.page {
  height: -webkit-calc(100% - 44px);
  height:         calc(100% - 44px);
}
.page-aside {
  width: 300px;
  border-right: 1px solid #e4eaec;
}
.page-aside + .page-main {
  margin-left: 300px;
}
.page-aside + .page-main .note-editor {
  border: 0;
}
.page-aside .list-group-item {
  cursor: pointer;
}
.page-main {
  position: relative;
  height: 100%;
  background: #fff;
}
.page-main .chats-wrap {
  height: -webkit-calc(100% - 86px);
  height:         calc(100% - 86px);
  padding-top: 25px;
  overflow-y: scroll;
  text-align: center;
}
.page-main .chats-wrap #historyBtn {
  color: #89bceb;
}
.page-main .chats-wrap #historyBtn:hover {
  color: #76838f;
}
.page-main .chats-wrap .chats {
  padding: 30px 35px 30px 15px;
}
.page-main .chats-wrap .chats .chat-avatar .avatar {
  width: 60px;
  margin-top: -10px;
}
.page-main .chats-wrap .chats .time {
  margin: 40px 0;
  font-size: 12px;
  color: #a3afb7;
  text-align: center;
}
.input-search {
  z-index: 99;
  width: 100%;
}
.input-search .input-search-icon {
  right: 8px;
  left: auto;
  color: #37474f;
  opacity: .4;
}
.input-search .form-control {
  height: 56px;
  color: #a3afb7;
}
.input-search .form-control,
.input-search .form-control:focus {
  border-top: 0;
  border-right: 0;
  border-bottom-color: #e4eaec;
  border-left: 0;
  border-radius: 0;
}
.page-aside-inner {
  height: 100%;
}
.page-aside-inner .list-scrollable {
  height: 100%;
  height: -webkit-calc(100% - 56px);
  height:         calc(100% - 56px);
}
.page-aside-inner .list-scrollable-body {
  height: 100%;
}
.page-aside-inner .list-group {
  margin-bottom: 0;
}
.page-aside-inner .list-group .list-group-item {
  z-index: 0;
  padding: 20px 30px;
  margin-bottom: 0;
  white-space: normal;
  border-bottom: 0;
  border-radius: 0;
}
.page-aside-inner .list-group .list-group-item:hover,
.page-aside-inner .list-group .list-group-item.active {
  color: #76838f;
  background-color: #e8f1f8;
}
.page-aside-inner .list-group .list-group-item:hover:after,
.page-aside-inner .list-group .list-group-item.active:after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  content: ' ';
  background: #62a8ea;
}
.page-aside-inner .list-group .list-group-item .media .media-right {
  padding-top: 10px;
}
.page-aside-inner .list-group .list-group-item .media .media-left .avatar {
  width: 50px;
}
.message-input-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px;
  overflow: hidden;
  background-color: #f3f7f9;
}
.message-input-wrap .message-input {
  position: relative;
  margin-right: 85px;
}
.message-input-wrap textarea {
  max-height: 160px;
  overflow-y: auto;
}
.message-input-wrap .input-actions {
  position: absolute;
  right: 10px;
  bottom: 5px;
  z-index: 2;
}
.message-input-wrap .input-actions i {
  margin-right: 10px;
  color: #afb5b9;
}
.message-input-wrap .input-actions i:hover {
  color: #76838f;
  cursor: pointer;
}
.message-input-wrap .input-actions i input {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
}
.message-input-wrap .input-actions i input:hover {
  cursor: pointer;
}
.message-input-wrap .message-input-btn {
  position: absolute;
  right: 25px;
  bottom: 25px;
}
@media (max-width: 1199px) {
  .page-aside,
  .page-aside .list-group-item,
  .page-aside .site-list-scrollable {
    width: 260px;
  }
  .page-aside + .page-main {
    margin-left: 260px;
  }
  .page-aside .page-aside-inner {
    border-right: 0;
  }
}
@media (max-width: 767px) {
  .page-aside {
    width: 0;
  }
  .page-aside + .page-main {
    margin-left: 0;
  }
  .page-aside.open {
    width: 260px;
  }
}
